<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>设置聊天信息</title>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
            $("#choose").submit(function(e) {
                document.location = $("#uid").val();
                e.preventDefault();
            });
        });
    </script>
</head>
<body>
    输入用于聊天的名字:
    <form id="choose" action="/" method="GET">
    <input id="uid"></input>
    <input type="submit" />
    </form>
</body>
</html>
